home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Time Traveler CD - A Mult…dia Chronicle of History
/
Time Traveler CD - A Multimedia Chronicle of History.iso
/
Time Traveler
/
Time Traveler.rsrc
/
bin.rsrc_CODE_5_Controls.txt
< prev
next >
Wrap
Text File
|
1992-10-28
|
44KB
|
774 lines
# near model CODE resource
# jump table entries: 240-249 (10 of them)
export_30:
00000000 4240 clr.w D0
00000002 4E75 rts
export_31:
00000004 486D ED7E pea.l [A5 - 0x1282]
00000008 A874 syscall GetPort
0000000A 2F2D E83C move.l -[A7], [A5 - 0x17C4]
0000000E A873 syscall SetPort
00000010 486D E69A pea.l [A5 - 0x1966]
00000014 A871 syscall GlobalToLocal
00000016 2F2D ED7E move.l -[A7], [A5 - 0x1282]
0000001A A873 syscall SetPort
0000001C 41ED ECCE lea.l A0, [A5 - 0x1332]
00000020 4EAD 034A jsr [A5 + 0x34A /* export_101 */]
00000024 4A40 tst.w D0
00000026 6774 beq +0x76 /* 0000009C */
00000028 0C40 0001 cmpi.w D0, 0x1
0000002C 660E bne +0x10 /* 0000003C */
0000002E 4EAD 02E2 jsr [A5 + 0x2E2 /* export_88 */]
00000032 4A40 tst.w D0
00000034 6778 beq +0x7A /* 000000AE */
00000036 4EAD 02DA jsr [A5 + 0x2DA /* export_87 */]
0000003A A9F4 syscall ExitToShell
label0000003C:
0000003C 0C40 0002 cmpi.w D0, 0x2
00000040 6606 bne +0x8 /* 00000048 */
00000042 4EBA 06BE jsr [PC + 0x6BE /* 00000702 */]
00000046 6064 bra +0x66 /* 000000AC */
label00000048:
00000048 0C40 0007 cmpi.w D0, 0x7
0000004C 6E0A bgt +0xC /* 00000058 */
0000004E 5540 subq.w D0, 2
00000050 4EBA 0526 jsr [PC + 0x526 /* 00000578 */]
00000054 6000 0056 bra +0x58 /* 000000AC */
label00000058:
00000058 0C40 000A cmpi.w D0, 0xA /* '\n' */
0000005C 6E0A bgt +0xC /* 00000068 */
0000005E 5F40 subq.w D0, 7
00000060 4EBA 061C jsr [PC + 0x61C /* 0000067E */]
00000064 6000 0046 bra +0x48 /* 000000AC */
label00000068:
00000068 0C40 000B cmpi.w D0, 0xB
0000006C 6608 bne +0xA /* 00000076 */
0000006E 4EBA 02AE jsr [PC + 0x2AE /* 0000031E */]
00000072 6000 0038 bra +0x3A /* 000000AC */
label00000076:
00000076 0C40 000C cmpi.w D0, 0xC
0000007A 6608 bne +0xA /* 00000084 */
0000007C 4EBA 031E jsr [PC + 0x31E /* 0000039C */]
00000080 6000 002A bra +0x2C /* 000000AC */
label00000084:
00000084 0C40 000D cmpi.w D0, 0xD /* '\r' */
00000088 6606 bne +0x8 /* 00000090 */
0000008A 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
0000008E 601C bra +0x1E /* 000000AC */
label00000090:
00000090 0C40 000E cmpi.w D0, 0xE
00000094 6604 bne +0x6 /* 0000009A */
00000096 4EBA 07F4 jsr [PC + 0x7F4 /* 0000088C */]
label0000009A:
0000009A 6012 bra +0x14 /* 000000AE */
label0000009C:
0000009C 41ED ED46 lea.l A0, [A5 - 0x12BA]
000000A0 4EAD 034A jsr [A5 + 0x34A /* export_101 */]
000000A4 4A40 tst.w D0
000000A6 6706 beq +0x8 /* 000000AE */
000000A8 4EBA 000A jsr [PC + 0xA /* 000000B4 */]
label000000AC:
000000AC 4E75 rts
label000000AE:
000000AE 4EBA 00A2 jsr [PC + 0xA2 /* 00000152 */]
000000B2 4E75 rts
fn000000B4:
000000B4 0C40 0005 cmpi.w D0, 0x5
000000B8 6632 bne +0x34 /* 000000EC */
000000BA 4EBA 0096 jsr [PC + 0x96 /* 00000152 */]
000000BE 303C 2346 move.w D0, 0x2346 /* '#F' */
000000C2 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
000000C6 0A6D 0001 E632 xori.w [A5 - 0x19CE], 0x1
000000CC 4A6D E632 tst.w [A5 - 0x19CE]
000000D0 670E beq +0x10 /* 000000E0 */
000000D2 0C6D 07C8 E630 cmpi.w [A5 - 0x19D0], 0x7C8
000000D8 6D06 blt +0x8 /* 000000E0 */
000000DA 3B7C 07C8 E630 move.w [A5 - 0x19D0], 0x7C8
label000000E0:
000000E0 4EBA 00F8 jsr [PC + 0xF8 /* 000001DA */]
000000E4 4EAD 0292 jsr [A5 + 0x292 /* export_78 */]
000000E8 6000 0008 bra +0xA /* 000000F2 */
label000000EC:
000000EC 5340 subq.w D0, 1
000000EE 4EBA 00AE jsr [PC + 0xAE /* 0000019E */]
label000000F2:
000000F2 4E75 rts
000000F4 4A6D E634 tst.w [A5 - 0x19CC]
000000F8 6B56 bmi +0x58 /* 00000150 */
000000FA 486D ED82 pea.l [A5 - 0x127E]
000000FE A874 syscall GetPort
00000100 2F2D E83C move.l -[A7], [A5 - 0x17C4]
00000104 A873 syscall SetPort
00000106 41ED ED8C lea.l A0, [A5 - 0x1274]
0000010A 202D ED86 move.l D0, [A5 - 0x127A]
0000010E 4870 0800 pea.l [A0 + D0]
00000112 AA14 syscall RGBForeColor
00000114 0C6D 000C ED8A cmpi.w [A5 - 0x1276], 0xC
0000011A 6D0C blt +0xE /* 00000128 */
0000011C 42AD ED86 clr.l [A5 - 0x127A]
00000120 3B7C 0001 ED8A move.w [A5 - 0x1276], 0x1
00000126 6008 bra +0xA /* 00000130 */
label00000128:
00000128 5CAD ED86 addq.l [A5 - 0x127A], 6
0000012C 526D ED8A addq.w [A5 - 0x1276], 1
label00000130:
00000130 302D E634 move.w D0, [A5 - 0x19CC]
00000134 5240 addq.w D0, 1
00000136 E740 asl D0.w, 3
00000138 41ED ED46 lea.l A0, [A5 - 0x12BA]
0000013C 4870 0000 pea.l [A0 + D0.w]
00000140 A8A1 syscall FrameRect
00000142 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */
00000148 A862 syscall ForeColor
0000014A 2F2D ED82 move.l -[A7], [A5 - 0x127E]
0000014E A873 syscall SetPort
label00000150:
00000150 4E75 rts
export_32:
fn00000152:
00000152 4A6D E634 tst.w [A5 - 0x19CC]
00000156 6B44 bmi +0x46 /* 0000019C */
00000158 41FA FF9A lea.l A0, [PC - 0x66 /* 000000F4, value 0x4A6DE634 */]
0000015C 4EAD 0382 jsr [A5 + 0x382 /* export_108 */]
00000160 4EAD 02EA jsr [A5 + 0x2EA /* export_89 */]
00000164 486D EDDA pea.l [A5 - 0x1226]
00000168 A874 syscall GetPort
0000016A 2F2D E83C move.l -[A7], [A5 - 0x17C4]
0000016E A873 syscall SetPort
00000170 486D EDD4 pea.l [A5 - 0x122C]
00000174 AA14 syscall RGBForeColor
00000176 302D E634 move.w D0, [A5 - 0x19CC]
0000017A 5240 addq.w D0, 1
0000017C E740 asl D0.w, 3
0000017E 41ED ED46 lea.l A0, [A5 - 0x12BA]
00000182 4870 0000 pea.l [A0 + D0.w]
00000186 A8A1 syscall FrameRect
00000188 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */
0000018E A862 syscall ForeColor
00000190 2F2D EDDA move.l -[A7], [A5 - 0x1226]
00000194 A873 syscall SetPort
0